<!--# layout("/common/layout.html",{"jsBase":"/js/cms/extCourse/"}){ -->

<form class="layui-form layui-form-pane" id="addForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">课程名字</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input" lay-verify="required">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">课程价格</label>
				<div class="layui-input-inline">
					<layui:simpleDictSelect style='layui-input-inline' type="data_price_type" layVerify="required"
								id="price" name="price" value="" />
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">购买课程价格</label>
				<div class="layui-input-inline">
					<input type="text" name="buyprice" class="layui-input" lay-verify="required|number">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">图片地址</label>
				<div class="layui-input-inline">
					<input type="text" name="url" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
				<div class="layui-input-inline">
					<input type="text" name="createtime" class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">创建人</label>
				<div class="layui-input-inline">
					<input type="text" name="createuser" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">更新时间</label>
				<div class="layui-input-inline">
					<input type="text" name="updatetime" class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">修改人</label>
				<div class="layui-input-inline">
					<input type="text" name="updateuser" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <layui:submitButtons id="addButton" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
    var extCourseAdd = layui.add
    extCourseAdd.init();
});
</script>
